#!/usr/bin/env node
const log = console.log;
const usr = {
  name:'maxiaoyu',
  age:18,
  qq:'1875081395@qq.com'
};
log('name:\t %s',usr.name);
log('age:\t %d',usr.age);
log('age:\t' + usr.age);
log('age:\t',usr.age);

log('qq:\t %s',usr.qq);
log('qq:'+ usr.qq);
log('qq:',usr.qq);
log(`qq:${usr.qq}`);//模板字符串输出
log('usr:\t %j',usr);


//log("name:\t %s \n age:\t %d \n qq: \t %s \n usr:\t %j",usr.name,usr.age,usr.qq,usr);

console.table(usr);
console.error('Error:somthing wrong!');
